using System;
using System.Collections.Generic;
using System.Text;
using DTO;

namespace DTO
{
   public class tbdonhang
    {
        private int madonhang;

        public int Madonhang
        {
            get { return madonhang; }
            set { madonhang = value; }
        }
        private int masanpham;

        public int Masanpham
        {
            get { return masanpham; }
            set { masanpham = value; }
        }
        private int manguoidung;

        public int Manguoidung
        {
            get { return manguoidung; }
            set { manguoidung = value; }
        }
        private int mahinhthucthanhtoan;

        public int Mahinhthucthanhtoan
        {
            get { return mahinhthucthanhtoan; }
            set { mahinhthucthanhtoan = value; }
        }
        private int matinhtrang;

        public int Matinhtrang
        {
            get { return matinhtrang; }
            set { matinhtrang = value; }
        }
        private string daichigiaohang;

        public string Diachigiaohang
        {
            get { return daichigiaohang; }
            set { daichigiaohang = value; }
        }
        private DateTime ngaygiodathang;

        public DateTime Ngaygiodathang
        {
            get { return ngaygiodathang; }
            set { ngaygiodathang = value; }
        }
        private DateTime ngaygiohuy;

        public DateTime Ngaygiohuy
        {
            get { return ngaygiohuy; }
            set { ngaygiohuy = value; }
        }
        private string hotenkhachhang;

        public string Hotenkhachhang
        {
            get { return hotenkhachhang; }
            set { hotenkhachhang = value; }
        }
        private string diachikhachhang;

        public string Diachikhachhang
        {
            get { return diachikhachhang; }
            set { diachikhachhang = value; }
        }
        private string emailkhachhang;

        public string Emailkhachhang
        {
            get { return emailkhachhang; }
            set { emailkhachhang = value; }
        }
        private string dienthoaikhachhang;

        public string Dienthoaikhachhang
        {
            get { return dienthoaikhachhang; }
            set { dienthoaikhachhang = value; }
        }
        private int soluong;

        public int Soluong
        {
            get { return soluong; }
            set { soluong = value; }
        }
        private float tongtien;

        public float Tongtien
        {
            get { return tongtien; }
            set { tongtien = value; }
        }
	
    }
}
public enum donhangcolumns
{
   madonhang,
masanpham,
manguoidung,
mahinhthucthanhtoan,
matinhtrang,
diachigiaohang,
ngaygiodathang ,
ngaygiohuy,
hotenkhachhang, 
diachikhachhang,
emailkhachhang,
dienthoaikhachhang,
soluong,
tongtien
}
public class tbdonhangcollection : List<tbdonhang> { }